package com.zit.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Dorm entity. @author MyEclipse Persistence Tools
 */

public class Dorm implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer gender;
	private String addr;
	private String name;
	private Date createTime;
	private Integer isDelete;
	private String remark;
	private Set bedrooms = new HashSet(0);

	// Constructors

	/** default constructor */
	public Dorm() {
	}

	/** minimal constructor */
	public Dorm(Integer gender, String name) {
		this.gender = gender;
		this.name = name;
	}

	/** full constructor */
	public Dorm(Integer gender, String addr, String name, Date createTime,
			Integer isDelete, String remark, Set bedrooms) {
		this.gender = gender;
		this.addr = addr;
		this.name = name;
		this.createTime = createTime;
		this.isDelete = isDelete;
		this.remark = remark;
		this.bedrooms = bedrooms;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getGender() {
		return this.gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public String getAddr() {
		return this.addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getIsDelete() {
		return this.isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Set getBedrooms() {
		return this.bedrooms;
	}

	public void setBedrooms(Set bedrooms) {
		this.bedrooms = bedrooms;
	}

}